package br.com.rcbsystens.promotora.versao1.util;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class JPAUtil {
	private static EntityManagerFactory fabrica = Persistence
			.createEntityManagerFactory("promotora");

	public EntityManager getEntityManager() {
		return fabrica.createEntityManager();
	}

}
